CC=gcc
CFLAGS=
CLIENT_TARGET=client
SERVER_TARGET=server
CLIENT_DIR=./client
SERVER_DIR=./server

$(CLIENT_TARGET): clean
		@cd $(CLIENT_DIR); make $(CLIENT_TARGET)
		@echo "client ok!!"

$(SERVER_TARGET): clean
		@cd $(SERVER_DIR); make $(SERVER_TARGET)
		@echo "server ok!!"

all: clean $(CLIENT_TARGET) $(SERVER_TARGET)
		@echo "make all compeleted!"

clean:
		@cd $(CLIENT_DIR); make clean
		@cd $(SERVER_DIR); make clean
